.class public Lcom/estrongs/android/ui/dialog/l;
.super Ljava/lang/Object;
.source "ChooseFtpDialog.java"


# instance fields
.field private a:Lcom/estrongs/android/ui/dialog/q;

.field private b:Landroid/content/Context;


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 2
    iput-object p1, p0, Lcom/estrongs/android/ui/dialog/l;->b:Landroid/content/Context;

    .line 3
    invoke-direct {p0}, Lcom/estrongs/android/ui/dialog/l;->c()V

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/ui/dialog/l;)Landroid/content/Context;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/ui/dialog/l;->b:Landroid/content/Context;

    return-object p0
.end method

.method private c()V
    .locals 5

    const/4 v0, 0x4

    new-array v0, v0, [Ljava/lang/String;

    const-string v1, "ftp"

    const/4 v2, 0x0

    aput-object v1, v0, v2

    const/4 v1, 0x1

    const-string v3, "sftp"

    aput-object v3, v0, v1

    const/4 v1, 0x2

    const-string v3, "ftps"

    aput-object v3, v0, v1

    const/4 v1, 0x3

    const-string v3, "webdav"

    aput-object v3, v0, v1

    .line 1
    new-instance v1, Lcom/estrongs/android/ui/dialog/q$n;

    iget-object v3, p0, Lcom/estrongs/android/ui/dialog/l;->b:Landroid/content/Context;

    invoke-direct {v1, v3}, Lcom/estrongs/android/ui/dialog/q$n;-><init>(Landroid/content/Context;)V

    new-instance v3, Lcom/estrongs/android/ui/dialog/l$a;

    invoke-direct {v3, p0}, Lcom/estrongs/android/ui/dialog/l$a;-><init>(Lcom/estrongs/android/ui/dialog/l;)V

    const/4 v4, -0x1

    .line 2
    invoke-virtual {v1, v0, v4, v3}, Lcom/estrongs/android/ui/dialog/q$n;->a([Ljava/lang/CharSequence;ILandroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    const v0, 0x7f110055

    .line 3
    invoke-virtual {v1, v0}, Lcom/estrongs/android/ui/dialog/q$n;->b(I)Lcom/estrongs/android/ui/dialog/q$n;

    .line 4
    invoke-virtual {v1, v2}, Lcom/estrongs/android/ui/dialog/q$n;->d(Z)Lcom/estrongs/android/ui/dialog/q$n;

    .line 5
    invoke-virtual {v1}, Lcom/estrongs/android/ui/dialog/q$n;->a()Lcom/estrongs/android/ui/dialog/q;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/ui/dialog/l;->a:Lcom/estrongs/android/ui/dialog/q;

    return-void
.end method


# virtual methods
.method public a()Z
    .locals 1

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/l;->a:Lcom/estrongs/android/ui/dialog/q;

    if-eqz v0, :cond_0

    invoke-virtual {v0}, Landroid/app/Dialog;->isShowing()Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    :goto_0
    return v0
.end method

.method public b()V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/l;->a:Lcom/estrongs/android/ui/dialog/q;

    if-eqz v0, :cond_0

    .line 2
    invoke-virtual {v0}, Lcom/estrongs/android/ui/dialog/q;->show()V

    :cond_0
    return-void
.end method
